package masquerade.companion;

import android.os.Bundle;
//import android.view.View;
import android.widget.ArrayAdapter;
//import android.widget.ListView;
import android.app.ListActivity;
//import android.content.Intent;

public class Metamorfose extends ListActivity {
	
	public void onCreate(Bundle icicle) {
		super.onCreate(icicle);
		// Create an array of Strings, that will be put to our ListActivity
		String[] menudisc = getResources().getStringArray(R.array.ListaMetamorfose);
		// Use your own layout and point the adapter to the UI elements which
		// contains the label
		this.setListAdapter(new ArrayAdapter<String>(this, R.layout.list_menu,
				R.id.list_menu, menudisc));
	}

	/*@Override
	protected void onListItemClick(ListView l, View v, int position, long id) {
		super.onListItemClick(l, v, position, id);
		// Get the item that was clicked
		Object o = this.getListAdapter().getItem(position);
		String keyword = o.toString();
		if (keyword.matches("Animalismo")){
			Intent i =new Intent();
    		i.setClass(this, Animalismo.class);
    		startActivity(i);
		}

	}*/
}